package com.sk.sqd.prototype;

public class RealizeTypeA implements Prototype {

    private String name;

    private Integer id;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public RealizeTypeA() {
    }

    @Override
    public String toString() {
        return "RealizeTypeA{" +
                "name='" + name + '\'' +
                ", id=" + id +
                '}';
    }

    public RealizeTypeA(String name, Integer id) {
        this.name = name;
        this.id = id;
    }

    @Override
    public Prototype clone() {
        return new RealizeTypeA(name, id);
    }

}
